﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Kairos.Models
{
    public class DocumentBase
    {
        public int ID { get; set; }

        [Required]
        public string Titre { get; set; }

        [Display(Name = "Créé le")]

        [DataType(DataType.Date)]
        public DateTime DateCreation { get; set; }

        [Display(Name = "Modifié le")]
        [DataType(DataType.Date)]
        public DateTime DateModification { get; set; }

        [Display(Name = "Expire le")]
        [DataType(DataType.Date)]
        public DateTime DateExpiration { get; set; }

        [Display(Name = "Créé par")]
        public string UserCreation { get; set; }

        [Display(Name = "Modifié par")]
        public string UserModification { get; set; }

        [Display(Name = "Révision")]
        public int Revision { get; set; }
    }

}